//
//  AppDelegate.m
//  FHHFPSIndicatorDemo
//
//  Created by 002 on 16/6/27.
//  Copyright © 2016年 002. All rights reserved.
//

#import "AppDelegate.h"
#import "WildernessViewController.h"
#if defined(DEBUG) || defined(_DEBUG)
#import "FHHFPSIndicator.h"
#endif


@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    [self.window makeKeyAndVisible];
    
    // Add the follwing code after the window become keywindow
    #if defined(DEBUG) || defined(_DEBUG)
        [[FHHFPSIndicator sharedFPSIndicator] show];
    #endif
    
    self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[[WildernessViewController alloc] init]];
    
    return YES;
}


@end
